<template>
  <div>
    <a-tabs default-active-key="3" @change="callback">
      <a-tab-pane key="3">
        <span slot="tab">新增物流服务方式</span>
        <ServiceMode />
      </a-tab-pane>
      <a-tab-pane key="1">
        <span slot="tab">新增物流商</span>
        <Providers />
      </a-tab-pane>
      <a-tab-pane key="2">
        <span slot="tab">新增物流平台</span>
        <Platform />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import Providers from "@/components/system/setManage/setLogistics/Providers";
import Platform from "@/components/system/setManage/setLogistics/platform";
import ServiceMode from "@/components/system/setManage/setLogistics/ServiceMode";

export default {
  components: {
    Providers,
    Platform,
    ServiceMode
  },
  created() {},
  data() {
    return {};
  },
  methods: {
    //Tab切换
    callback(key) {
      console.log(key);
    }

    //新增物流平台的方法
  }
};
</script>

<style lang="less" scoped></style>
